package com.xiaoniu.forum.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xiaoniu.forum.common.utils.PageUtils;
import com.xiaoniu.forum.common.utils.Query;

import com.xiaoniu.forum.dao.MemberNospeakDao;
import com.xiaoniu.forum.entity.MemberNospeakEntity;
import com.xiaoniu.forum.service.MemberNospeakService;


@Service("memberNospeakService")
public class MemberNospeakServiceImpl extends ServiceImpl<MemberNospeakDao, MemberNospeakEntity> implements MemberNospeakService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MemberNospeakEntity> page = this.page(
                new Query<MemberNospeakEntity>().getPage(params),
                new QueryWrapper<MemberNospeakEntity>()
        );

        return new PageUtils(page);
    }

}